package org.netEase.entity;

import java.util.Date;

import org.apache.catalina.User;

public class comment {
	/*
	 * `id` INT(11) NOT NULL AUTO_INCREMENT, `yId` INT(11) DEFAULT NULL,
	 * `Com_images` VARCHAR(100) DEFAULT NULL, `Com_Date` TIMESTAMP NOT NULL DEFAULT
	 * CURRENT_TIMESTAMP, `Com_Content` TEXT, `Com_Praise` VARCHAR(20) NOT NULL,
	 * `Sid` INT(11) DEFAULT NULL, PRIMARY KEY (`id`)
	 */

	private int id;
	private yonghu yonghu;
	private String com_images;
	private Date com_date;
	private String com_content;
	private int com_praise;
	private shangping shangping;
	private int com_hid;
	private String com_hName;
	public String getCom_hName() {
		return com_hName;
	}

	public void setCom_hName(String com_hName) {
		this.com_hName = com_hName;
	}

	private int sid;

	public int getCom_hid() {
		return com_hid;
	}

	public void setCom_hid(int com_hid) {
		this.com_hid = com_hid;
	}

	public int getSid() {
		return sid;
	}

	public void setSid(int sid) {
		this.sid = sid;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public yonghu getYonghu() {
		return yonghu;
	}

	public void setYonghu(yonghu yonghu) {
		this.yonghu = yonghu;
	}

	public String getCom_images() {
		return com_images;
	}

	public void setCom_images(String com_images) {
		this.com_images = com_images;
	}

	public Date getCom_date() {
		return com_date;
	}

	public void setCom_date(Date com_date) {
		this.com_date = com_date;
	}

	public String getCom_content() {
		return com_content;
	}

	public void setCom_content(String com_content) {
		this.com_content = com_content;
	}



	public int getCom_praise() {
		return com_praise;
	}

	public void setCom_praise(int com_praise) {
		this.com_praise = com_praise;
	}

	public shangping getShangping() {
		return shangping;
	}

	public void setShangping(shangping shangping) {
		this.shangping = shangping;
	}

	@Override
	public String toString() {
		return "comment [id=" + id + ", yonghu=" + yonghu + ", com_images=" + com_images + ", com_date=" + com_date
				+ ", com_content=" + com_content + ", com_praise=" + com_praise + ", shangping=" + shangping + "]";
	}

}
